@import "../_antd-style/themes/default";
// ant table 扩展
// table内分页  [nzBordered]="true" 
.inner-pagination {
    .ant-table-wrapper {
        position: relative;
        .ant-spin-nested-loading {
            .ant-pagination {
                bottom: 16px;
            }
        }
    }
    .ant-pagination {
        margin: 0px!important;
        position: absolute;
        right: 0;
        bottom: 15px;
        &.mini {
            bottom: 15px;
        }
    }
}

// 表格样式																									
.ant-table-wrapper {
    .ant-table {
        //table 样式
        table {
            border-collapse: separate;
            border-spacing: 0;
            overflow: hidden;
            td {
                max-width: 150px;
                overflow: hidden;
                text-overflow: ellipsis;
                white-space: nowrap;
            }
        } //表格过滤
        .filter-th {
            position: relative;
            nz-dropdown {
                cursor: pointer;
                right: 11px;
                top: 13px;
                position: absolute;
                font-size: 14px;
                color: #aaa;
            }
            &.active {
                background: #eee;
                i.ant-dropdown-trigger {
                    color: @primary-color;
                }
            }
        }
        .ant-table-thead>tr.option.ant-table-row-hover>td,
        .ant-table-tbody>tr.option.ant-table-row-hover>td,
        .ant-table-thead>tr.option:hover>td,
        .ant-table-tbody>tr.option:hover>td {
            background: none;
        }
        .ant-table-tbody {
            // 操作类
            .action {
                i {
                    font-size: 14px;
                    padding: 0 8px;
                    cursor: pointer;
                    vertical-align: middle;
                }
            }
        }
    }
}